package com.greenhouse.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.greenhouse.common.annotation.Excel;
import com.greenhouse.common.core.domain.BaseEntity;

import lombok.Data;

/**
 * 【请填写功能名称】对象 biz_product_attribute
 * 
 * @author greenhouse
 * @date 2021-05-06
 */
@Data
public class BizProductAttribute extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** $column.columnComment */
	private Long attributeId;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private Long productId;

	/** $column.columnComment */
	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String attributeName;

	@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String attributeCode;

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("attributeId", getAttributeId())
				.append("productId", getProductId()).append("attributeName", getAttributeName()).toString();
	}
}
